package com.rlz.framemm.mode.chain

import android.app.Dialog
import androidx.fragment.app.DialogFragment

/**
 * Created by RLZ
 * on 2021/10/21
 *
 */
class OneCheck : DialogCheck() {

    override fun execute() {
        val oneDialog = OneDialog()
        oneDialog.show(mContext.supportFragmentManager, "")
        oneDialog.setOnClick(object : OnConfirm {
            override fun onConfirm(dialog: DialogFragment) {
                dialog.dismiss()
                mNext?.execute()
            }
        })
    }
}